<div class="head-blue-bg">
	<ul class="profile-menu-ul">
		<?php foreach($menus as $key=>$one):?>
		<li class="<?php echo $key == $active ? 'menu2-my-active' : 'menu2-my'?>">
			<a href="<?php echo Yii::app()->createUrl($one['url'])?>"><?php echo $one['label']?></a>
		</li>
		<?php endforeach;?>
	</ul>
</div>
<div class="head2-menu">
  	<ul>
  		<?php foreach($menus[$active]['items'] as $label=>$url):?>
			<li><a href="<?php echo Yii::app()->createUrl($url)?>"><?php echo $label;?></a></li>
		<?php endforeach;?>
	</ul>
</div>